<template>
  <h1>企业搜索/列表</h1>
  <el-select v-model="value1" class="m-2" placeholder="Select" size="large">
    <el-option
        v-for="item in options"
        :key="item.value"
        :label="item.label"
        :value="item.value"
    />
  </el-select>
  <el-select v-model="value2" class="m-3" placeholder="Select" size="large">
    <el-option
        v-for="item in options1"
        :key="item.value"
        :label="item.label"
        :value="item.value"
    />
  </el-select>
  <el-select v-model="value3" class="m-4" placeholder="Select" size="large">
    <el-option
        v-for="item in options"
        :key="item.value"
        :label="item.label"
        :value="item.value"
    />
  </el-select>
  <el-select v-model="value4" class="m-5" placeholder="Select" size="large">
    <el-option
        v-for="item in options"
        :key="item.value"
        :label="item.label"
        :value="item.value"
    />
  </el-select>
  <el-select v-model="value5" class="m-6" placeholder="Select" size="large">
    <el-option
        v-for="item in options"
       :key="item.value"
        :label="item.label"
        :value="item.value"
    />
  </el-select>

</template>


<script lang="ts">
import {ref} from "vue";

export default {
  name: "SelectTest",
  setup() {
    const value1 = ref('')
    const value2 = ref('')
    const value3 = ref('')
    const value4 = ref('')
    const value5 = ref('')
    const options = [
      {
        value: 'Option1',
        label: 'Option1',
      },
      {
        value: 'Option2',
        label: 'Option2',
      },
      {
        value: 'Option3',
        label: 'Option3',
      },
      {
        value: 'Option4',
        label: 'Option4',
      },
      {
        value: 'Option5',
        label: 'Option5',
      },
    ]
    const options1=[
      {
        value: '1',
        label: '21',
      },
      {
        value: '11',
        label: '31',
      }

    ]
    return {
      value1, options,options1,value2,value3,value4,value5
    }
  }
}
</script>

<style scoped>

</style>